#include <iostream>
#include "ListStack.h"

using namespace std;
int main() {
	ListStack<int> test;
	test.push(10);
	test.push(20);
	test.push(30);
	test.push(40);
	cout << test.top() << endl;
	test.pop();
	cout << test.top() << endl;
	system("pause");
	return 0;
}